package com.rrd.itext.xmlBean.wrapper;

import com.rrd.itext.xmlBean.fontBean.XmlFonts;
import com.thoughtworks.xstream.XStream;

public class FontXStreamWrapper {
	private static final String FONTS = "fonts";

	private XStream xstream;

	public XStream initXStream() {
		xstream = new XStream();
		xstream.processAnnotations(XmlFonts.class);
		xstream.addImplicitCollection(XmlFonts.class, FONTS);
		return xstream;
	}

	public XStream getXstream() {
		return xstream;
	}

	public void setXstream(XStream xstream) {
		this.xstream = xstream;
	}

}
